import service from '@/utils/request'

const BusinessClassifyApi = {
  listBusinessClassify: function (data) {
    return service.get('businessClassify/page', { params: data })
  },
  addBusinessClassify: function (data) {
    return service.post('businessClassify', data)
  },
  editBusinessClassify: function (data) {
    return service.put('businessClassify', data)
  },
  deleteBusinessClassify: function (data) {
    return service.put('businessClassify/delete', data)
  },
  getBusinessClassifyInfo(data) {
    return service.get('businessClassify', { params: data })
  },
  listIdName(data){
    return service.get('businessClassify/listIdName', {params:data})
  },
}

export default BusinessClassifyApi
